package com.yanqu.road.entity.log.cross.stronghold;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_stronghold_event", desc = "商会据点战事件日志", autoSave = true, uploadCk = true, isCross = true)
public class LogStrongholdEvent extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "分组id")
    private int groupId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "事件id")
    private int eventId;
    @FieldTypeAnnotation(desc = "据点名称")
    private String wildName;
    @FieldTypeAnnotation(desc = "事件类型,0宝箱 1,贸易,  2 PVP")
    private int eventType;
    @FieldTypeAnnotation(desc = "宝箱类型， 没有就是-1")
    private int boxType;
    @FieldTypeAnnotation(desc = "是否处理")
    private boolean deal;

    public LogStrongholdEvent(int activityId, int groupId, long userId, int eventId, String wildName, int eventType, int boxType, boolean deal) {
        this.activityId = activityId;
        this.groupId = groupId;
        this.userId = userId;
        this.eventId = eventId;
        this.wildName = wildName;
        this.eventType = eventType;
        this.boxType = boxType;
        this.deal = deal;
    }

    public long getUserId() {
        return userId;
    }

}
